﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Wicresoft.NRemedy.VS10Addin.UI
{
    public class FormListItemData
    {
        public bool IsChecked { get; set; }

        public string FormName { get; set; }

        public List<ModelPropertyInfo> PropertyMapping { get; set; }

        public ListViewItem ToListViewItem()
        {
            ListViewItem lvi = new ListViewItem();
            lvi.Checked = IsChecked;
            lvi.SubItems.Add(new ListViewItem.ListViewSubItem(lvi, FormName));
            return lvi;
        }
    }
}
